/*
 *------------------------------------------------------------------------------
 * @File      :    ei_mai_nna.h
 * @Date      :    2021-4-8
 * @Author    :    lomboswer <lomboswer@lombotech.com>
 * @Brief     :    Media Interface for MADP(Media Development Platform).
 *
 * Copyright (C) 2020-2021, LomboTech Co.Ltd. All rights reserved.
 *------------------------------------------------------------------------------
 */

#ifndef __EI_NNA_QR_DEFINE_H__
#define __EI_NNA_QR_DEFINE_H__

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

#include "ei_nna_define.h"

#define NNA_QR_DATA_MAX_LEN (256)

typedef struct eiNNA_QR_INFO_S {
	EI_U8 u8Data[NNA_QR_DATA_MAX_LEN];
	EI_U32 u32Len;
	EI_U32 u32Rect[4];
} EI_NNA_QR_INFO_S;

typedef struct eiNNA_QR_INFOS_S {
	EI_S32 s32Num;
	EI_NNA_QR_INFO_S stInfos[30];
} EI_NNA_QR_INFOS_S;

typedef struct eiNNA_QR_CONFIG_S {
	EI_U32 u32Width;
	EI_U32 u32Height;
	EI_BOOL bWithCV;
	EI_S32 s32CVsmooth;
	EI_DOUBLE d64CVThresh;
	EI_S32 s32CVAll;
	EI_S32 s32CVDebug;
} EI_NNA_QR_CONFIG_S;

typedef EI_S32 NNA_QR_CHN;


#ifdef __cplusplus
}
#endif

#endif
